package com.gxgeek.springfeaturesstudy.springbootevent;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.context.event.ApplicationEnvironmentPreparedEvent;
import org.springframework.context.ApplicationListener;

/**
 * @author gaoxing
 * @create 2017-11-07 下午4:36
 */
@Slf4j
public class ApplicationListenerEnvironmentPrepared implements ApplicationListener<ApplicationEnvironmentPreparedEvent> {
    @Override
    public void onApplicationEvent(ApplicationEnvironmentPreparedEvent event) {
        log.info(getClass().getSimpleName()+":ApplicationListenerEnvironmentPrepared 事件");
    }
}
